<%@ page language="java" contentType="text/html" pageEncoding="UTF-8"%>
<%@ page import="model.User" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>提示信息</title>
    <link rel="stylesheet" type="text/css" href="../CSS/styles.css">
</head>

<body>
<div align="center">
    <div class = "div1">
        <div >提示信息</div>
        <div >
            <jsp:include page="login.html"></jsp:include>
            <div class="div3">
                <%
                    // 获取提示信息
                    String info = (String)request.getAttribute("info");
                    // 如果提示信息不为空，则输出提示信息
                    if(info != null){
                        out.println(info);
                    }
                    // 获取登录的用户信息
                    User user = (User)session.getAttribute("user");
                    // 判断用户是否登录
                    if(user != null){
                %>
                <h1>文件上传到hdfs上</h1>

                <%
                    }else{
                        out.println("<br>对不起，您还没有登录！");
                    }
                %>
            </div>
        </div>
    </div>
</div>
</body>
</html>
